﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="personal.aspx.cs" Inherits="personal" MasterPageFile="~/Main.master" %>
<asp:Content ContentPlaceHolderID="main_style" runat="server">
<link href="Styles/personal.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ContentPlaceHolderID="main_left" runat="server">
    <form runat="server">
    <div class="section">
		<ul class="user_infor">
	          <li>
	                <label>头像设置</label>
		            <asp:Image ID="avator" runat="server" />
                    <asp:FileUpload id="headimg" runat="server" name="headimg" />
                    <asp:Button ID="uploadAvt" runat="server" Text="上传新头像" class="submit" 
                        onclick="uploadAvt_Click"/>
	          </li>
	          <li>
                    <label>修改昵称</label>
                    <asp:TextBox id="username" runat="server" name="username" class="itext"></asp:TextBox>
		            <span class="inputtip" id="nametip"></span>
                    <asp:Button ID="changeNickname" runat="server" Text="修改昵称" class="ibutton" 
                        onclick="changeNickname_Click"/>	                
	          </li>
	          <li>
                    <label>修改密码</label>     
                    <asp:TextBox ID="userpasswd" runat="server" name="userpasswd" TextMode="Password" class="itext"></asp:TextBox>
                    <asp:Button ID="changePwd" runat="server" class="ibutton" Text="修改密码" 
                        onclick="changePwd_Click" />
              </li>
	     </ul>
	</div>
    </form>
</asp:Content>
<asp:Content ContentPlaceHolderID="main_right" runat="server">
<div class="right">
	    <div class="section_r">
		    <ul class="usermenu">
			    <li><a href="myphoto.aspx">我创建的图片</a></li>
			    <li><a href="myfavorphoto.aspx">我收藏的图片</a></li>
			    <li><a href="personal.aspx">用户设置</a></li>
		    </ul>
	    </div>
    </div>
</asp:Content>
